package com.authine.cloudpivot.ext.dto.model.bill;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsReceiptRollback {
    private Long orderGoodsId;
    private Long orderGoodsReceivedId;
    //收货前的收货时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date originDeliveryTime;
    //收货后的收货时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiptDeliveryTime;
    //收货凭证id
    private List<String> receiptVoucherIds;
}
